body {
background: #ddd;
font-size: 14px ;
font-family: Tahoma;
color: #8b8b8b;
margin: 1px auto;
max-width:650px;
word-wrap: break-word;
min-width: 320px;
}

a { 
color: #454545; 
text-decoration: none;
}

a:hover { 
text-decoration: underline;
}

img {
vertical-align: middle;
}
.banbg {
    color: #000;
}
.progress {
  position: relative;
  width: 180px;
  height: 12px;
  overflow: hidden;
  background: #ff3232;
  background: linear-gradient(to right, #ff3232 0%,#ff9600 33%,#ffff00 66%,#00ff00 100%);
}
.newls {
    border-left: 4px solid #983535;
    /*padding-left: 7px;*/
}
.hd {
background: url(/views/default/img/head.gif) repeat-x top #037058;
height: 74px;
/*margin: 0 5px 0 5px;*/
}

.auth{
background: url(/views/default/img/auth.gif) repeat-x top #253137;
padding: 5px 0;
text-align: center;
/*margin: 0 5px 0 5px;*/

}
.avatarm {
  width: 40px;
  height: 40px;
  border-radius: 20px; /* половина ширины и высоты */
}
.auth a {
background: #118c71;
display: inline-block;
width: 21%;
padding: 9px 0;
color: #fff;

}
.auth a:hover {
background: #00654f;
text-decoration: none;
}

.auth1{
background: url(/views/default/img/auth.gif) repeat-x top #253137;
padding: 5px 0;
text-align: center;
/*margin: 0 5px 0 5px;*/
}

.auth1 a {
background: #118c71;
display: inline-block;
width: 32%;
padding: 9px 0;
color: #fff;
}
.auth1 a:hover {
background: #00654f;
text-decoration: none;
}

.rekl{
background: #fff;
padding: 6px 9px;
margin: 5px;
box-shadow: 0px 2px 2px #c4c4c4;
}

.ntitle {
background: #cbcbcb;
padding: 10px;
margin: 8px 0 0 0;
color: #fff;
}

.title, .adm_panel {
background: #118d73;

/*margin: 0 5px 0 0;*/
color: #fff;
}
.adm_panel {
    font-size: 12px;
}
.title img, .adm_panel img {
margin: 0 3px;
}

.title a, .adm_panel a {
color: #eee;
text-decoration: none;
}

img.ava {
width: 32px;
margin: 1px;
}

a.nick{
background: #bcbcbc;
display: inline-block;
margin: 1px;
padding: 4px;
color: #fff;
}

.numb {
display: inline-block;
padding: 1px 3px;
background: #eee;
margin: 0 3px 0 0;
}

.navi a {
background: #bcbcbc;
display: inline-block;
margin: 1px;
padding: 6px;
color: #fff;
}

.navi a:hover {
background: #cdcdcd;
display: inline-block;
margin: 1px;
padding: 6px;
color: #fff;
}

.mnavi a {
background: #bcbcbc;
display: inline-block;
margin: 1px;
padding: 3px 6px;
color: #fff;
}

.mnavi a:hover {
background: #cdcdcd;
display: inline-block;
margin: 1px;
padding: 3px 6px;
color: #fff;
}

.mnavi span{
background: #129276;
display: inline-block;
margin: 1px;
padding: 3px 6px;
color: #fff;
}

.mnavi > b {
    background: #118c71;
    margin: 1px;
    padding: 3px 6px;
    color: #f3f3f3;
}

.main {
background: #fff;

box-shadow: 0px 2px 2px #c4c4c4;
margin: 0 0 5px 0;
}

.menu, .navi, .mnavi, .menu2 {
background: #fff;
padding: 6px 6px 6px;
box-shadow: 0px 2px 2px #c4c4c4;
margin: 0 0 5px 0;
}


.menu3 {
background: #fff;
padding: 6px 9px;
box-shadow: 0px 2px 2px #c4c4c4;
/*margin: 0 5px 0 5px;*/
border-bottom: 1px solid #eee;
}
.m3 {
background: #fff;

box-shadow: 0px 2px 2px #c4c4c4;
/*margin: 0 5px 0 5px;*/

}

.auth2 a {
background: #129276;
padding: 6px;
display: inline-block;
margin: 3px 1px;
color: #fff;

}
.auth2 a:hover {
background: #5bb6a2;

margin: 3px 1px;
padding: 6px;
color: #fff;
}
.block a{
background: #eee;
padding: 9px;
display: block;
text-align: center;
margin: 3px 0 0 0;
}

.ssyl2 {
display: block;
border-bottom: 1px solid #f5f5f5;
padding: 12px 8px;
background-color: #fff;
}

.ssyl2:hover {
background: #f5f5f5;
text-decoration: none;
}


.green {
color: #118c71;
}

.green2 {
color: #d3fff6;
}

.q {
background: #eee;
padding: 7px 4px;
border-left: 2px solid #ddd;
margin: 5px 0;
}

.foot {
background: #253137;
padding: 10px;
margin: -5px 0 -5px 0;
color: #fff;

}


.lin2 a {
display: inline-block;
border-bottom: 1px solid #f5f5f5;

padding: 12px 0;
width: 32%;
text-align: center;
}
.lin2 a:hover {
background: #f5f5f5;
text-decoration: none;
}


textarea {
width: 90%;
height: 90%;

}
input, select, textarea {

background: #fff;
padding: 7px;
border: 1px solid #eee;
margin: 3px 1px;
}

input[type="submit"]{
background: #118c71;
border: 0;
color: #fff;
}
.dmy{

}
.dmy2{
background: #D3F2D3;
margin: 7px 2px 7px 0px;
padding: 6px;
max-width: 80%; 
border-radius: 10px;
display: inline-block;
word-wrap: break-word; /* Перенос слов */
margin-left: 20px;
position: relative;
}

.dmy2:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    right: 100%;
    top: calc(50% - 12px);
    border-top: 12px solid #0000;
    border-right: 24px solid #D3F2D3;
    border-bottom: 12px solid #0000;
    padding-right: 30px;
}

.dot{

}

.dot2{
float: right;
background: #EAEAEA;
margin: 7px 0px 7px 0px;
padding: 6px;
max-width: 80%; 
border-radius: 10px;
display: inline-block;
word-wrap: break-word; /* Перенос слов */
margin-right: 20px;
position: relative;
}

.dot2:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    left: 100%;
    top: calc(50% - 12px);
    border-top: 12px solid #0000;
    border-left: 24px solid #EAEAEA;
    border-bottom: 12px solid #0000;
    /*padding-left: 30px;*/
}

.overlay {
    background-color: rgba(0, 0, 0, 0.7);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 99999;
		-webkit-transition: opacity .5s;
		-moz-transition: opacity .5s;
		-ms-transition: opacity .5s;
		-o-transition: opacity .5s;
		transition: opacity .5s;
}

.popup {
	background-color: #fff;
	border: 3px solid #fff;
	display: inline-block;
	left: 50%;
	opacity: 0;
	padding: 15px;
overflow-y: scroll;
	max-width: 450px;
	max-height: 323px;
	position: fixed;
	text-align: justify;
	top: 40%;
	visibility: hidden;
	z-index: 999999;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	-webkit-transition: opacity .5s, top .5s;
	-moz-transition: opacity .5s, top .5s;
	-ms-transition: opacity .5s, top .5s;
	-o-transition: opacity .5s, top .5s;
	transition: opacity .5s, top .5s;
	border-radius: 11px;
}
.close_window {
	cursor: pointer;

}

#cont {
    
}
#cont .page {
   
}

.nav_icon {
    position: relative;
    vertical-align: middle;
    text-align: center;
    display: inline-block;
    color: gray;
    font-size: 12px;
    margin: 0px 0px 10px 0px;
    padding: 10px 2px;
}

.nav_icon-touch {
     width: 50px;
    height: 50px;
    margin-bottom: 5px;
    display: block;
    text-align: center;
    line-height: 46px;
    border-radius: 25px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border: 1px solid #9e9e9e;
}
.nav_icon-touch:hover {
border: 1px solid #616161;
}
.nav {
  font-size: 11px;
}

.nav a {
  display: block;
  text-align: center;
  padding: 10px;
  border-right: 1px solid #1a2127;
  transition: background .2s;
}

.nav a:hover {
  background: #27323a;
}

.nav a.active {
  background: #1a2127;
}

.nav a:last-child {
  border: 0;
}
.flex {   /* flexbox */
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}
.like a {
	
	padding: 6px;
	display: inline-block;
}

.like a:hover {
	background: #d3d3d3;
}
.ls {
display: flex;
flex-direction: column;
}
.flex {   /* flexbox */
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}
.forum_topic a:first-child {
  flex: 1;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
}
a.items {
  background: #fff !important;
}

a.items:hover {
  background: #EAE9E9 !important;
}

a.topic {
  box-shadow: inset 0 1px #f7f7f7;
}
a.topic > b {

  vertical-align: middle;
}

.forum_topic > a {
  display: block;
}


.forum_topic > a > login {
  float: right;
}

.forum_topic a:last-child {
  -webkit-box-flex: 0.07;
  -webkit-flex: 0.07;
  -ms-flex: 0.07;
  text-align: center;
  box-shadow: inset 0 1px #f7f7f7;
}

.f a{
    display: block;
    padding: 12px;
    transition: background .2s;
    text-decoration: none;
}
.f a > span {
  background: #fff;
  
  padding: 2px 4px;
  color: #717171;
  
  border-radius: 2px;
  border-bottom: 1px solid #313a42;
}

.f {
/*margin: 0 5px 0 5px;*/
}
.f a.items > span {
  background: #118d73;
  color: #fff;
  border: 0;
  
}

.f > span.fmenu a {
  border-bottom: 1px solid #1a2127;
}

.f > a > span:nth-child(3), .f > .fmenu a > span:nth-child(3) {
  background: #4CAF50;
  color: #fff;
  border: 0;
}

.f a:hover {
  background: #27323a;
  text-decoration: none;
}
.f img {
 
  margin: 0 6px 0 0;
}

.forum_topic a:first-child {
  flex: 1;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
}

/*spoiler forum*/
 .spoiler-trigger::before{
    
	color: #0b70db;
	text-decoration: none;
	padding: 0 5px;
	content: "+";
	border: 1px solid #0b70db;
	}
.spoiler-trigger.active::before{
    
    color: #0b70db;
    content: "-";
    border: 1px solid #0b70db;
}
.spoiler-trigger>span{
		border-bottom: 1px solid #0b70db;
	padding:0 3px;
}
.spoiler-trigger:hover>span{
	border-bottom-style: solid #0b70db;
}
.spoiler-block{
	display: none;
}
 
/*spoiler forum*/
.auth count {
    /*
  background: #f44336;
  font-size: 11px;
 position: relative;
 
  padding: 3px 4px;
  border-radius: 30px;
  top: -10px;
  right: 5px;
  z-index: 2;
  */
}
.panel a, .adm_panel > a {
    flex: 1;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    text-align: center;
padding: 9px 5px;
}
.panel a:hover, .adm_panel > a:hover {
    background-color: #108068;
}
.title {
    padding: 10px;
}

.no_notif {
    padding: 0;
    border: 0;
    width: 28px;
    height: 28px;
    background-color: #0000;
    background-image: url(/views/icon/no_notif.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.on_notif {
    padding: 0;
    border: 0;
    width: 28px;
    height: 28px;
    background-color: #0000;
    background-image: url(/views/icon/on_notif.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.change_notif a {
    /*background-color: #000;*/
    display: inline-block;
    margin: 1px;
    padding: 8px;
    color: #fff;
    text-decoration: none;
    float: right;
    border-radius: 50%;
}

.mod {
    background: #8BC34A;
}

.adm {
    background: #e74c3c;
}

.gladm {
    background: #1f80ce;
}

.level {
    padding: 1px 4px;
    font-size: 8px;
    margin-left: 5px;
    border-radius: 3px;
    color: #fff;
	display: inline-block;
	vertical-align: middle;
}
.dial_noread{
    border-right: 4px solid #dc7a73;
}


/*------------------------------------MORE VERT FORUM--------------------------------------------------*/
 
 .toggle-forum {
    padding: 0;
    border: 0;
    width: 24px;
    height: 24px;
    background-color: #0000;
    background-image: url(/views/icon/forum/dots-vertical.png);
    background-size: contain;
    background-repeat: no-repeat;
    float:right;
    
}

/* Dropdown Button */
.forum-btn {
    color: white;
    font-size: 16px;
    border: none;
    margin-top: 3px;
}

/* The container <div> - needed to position the dropdown content */
.forum-popup {
    position: relative;
    float: right;
    margin-bottom: 20px;
    margin-left: 10px;
}

/* Dropdown Content (Hidden by Default) */
.forum-popup-content {
    /*display: none;*/
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    padding: 5px;
    right: 0;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    margin-top: 25px;
}

/* Links inside the dropdown */
.forum-popup-content a {
    text-decoration: none;
    
}

/* Change color of dropdown links on hover */
/*.theme-popup-content a:hover {background-color: #ddd;}*/

/* Show the dropdown menu on hover */
.forum-popup:hover .forum-popup-content {display: inline-block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.forum-popup:hover .forum-popup {background-color: #3e8e41;}

/*---------------------------------------------------------------------------------------------------------*/

.delete {
    color: #fff;
    background: #ca4444;
    display: inline-block;
    float: right;
    padding: 3px 5px;
}
.delete:hover {
    background: #e67272;
}


/*stiker forum*/

.stiker-block{
	display: none;
	margin: 20px;
    max-height: 300px;
    overflow: auto;
    /* border: 1px solid rgb(0, 0, 0); */
    padding: 12px;
    background: #1b1b1b;
    border: 1px solid #1b1b1b;
    border-radius: 4%;
    position: relative;
}

.stiker-close {
    color: #fff;
    padding: 5px 8px;
    background: #ad3030;
    border-radius: 5px;
    cursor: pointer;
    position: sticky;
    top: 1px;
    float: right;
}
 
/*stiker forum*/

.inline {
    text-align: center;
}

.inline a {
    display: inline-block;
    padding: 12px 0;
    background-color: #fff;
    color: #454545;
    width: 48%;
    border: 1px solid #eee;
}
.inline a:hover {
	background-color: #eee;
}

.online-ico {
    padding: 8px;
    background: #26a930;
    border: 5px solid #fff;
    border-radius: 50%;
    position: absolute;
    margin-left: -70px;
    margin-top: 8px;
}